package two;

/**
 * @author zzb
 * @since 2021-01-12
 */
//ConcreteFactory
public class BlackAnimalFactory implements IAnimalFactory {

  @Override
  public ICat createCat() {
    return new BlackCat();
  }

  @Override
  public IDog createDog() {
    return new BlackDog();
  }
}
